<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ page session="false"%>
<%@ page contentType="text/html; charset=UTF-8"%>

<div class="content">
	<div class="error ${param.error == true ? '' : 'hide'}">	 
	${sessionScope['SPRING_SECURITY_LAST_EXCEPTION'].message}
	</div>
	<form action="j_spring_security_check" method="post">
		<fieldset>
			<legend>用户登录：</legend>	
			<p>用户名：<input type="text" name="j_username" value="${sessionScope['SPRING_SECURITY_LAST_USERNAME']}"/></p>
			<p>密　码：<input type="password" name="j_password" /></p>
			<input type="checkbox" name="_spring_security_remember_me" checked="checked"/>两周之内不必登陆<br/>			
			<input type="submit" value="登 录"/>
		</fieldset>
	</form>	
</div>

<script language="JavaScript" type="text/javascript">
	//<![CDATA[
	$(function(){
		try{
		}catch(e){alert(e);}
	});
	//]]>
</script>